home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / recovery-mode / options / xfix < prev   
Text File  |  2009-10-23  |  505b  |  22 lines

  1. #!/bin/sh
  2.  
  3. . /usr/share/recovery-mode/l10n.sh
  4.  
  5. if [ ! -f /var/lib/dpkg/info/xserver-xorg.templates ]; then
  6.     # no xserver-xorg template available so nothing to reconfgiure
  7.     exit 1
  8. fi
  9.  
  10. if [ "$1" = "test" ]; then
  11.   echo $(eval_gettext "Try to auto repair graphic problems")
  12.   exit 0
  13. fi
  14.  
  15. whiptail --infobox $(eval_gettext "The graphics reconfiguration (xserver) is now running.  Your screen may flicker during hardware autodetection.") 8 60
  16.  
  17. sleep 3
  18. dpkg-reconfigure -phigh xserver-xorg
  19. sleep 3
  20.  
  21. exit 0
  22.